package com.zzyl.constant;

public class CacheConstants {

    /**
     * 缓存父包
     */
    public static final String RESOURCE_PREFIX= "resource:";
    public static final String RESOURCE_LIST = RESOURCE_PREFIX+"list";
    public static final String RESOURCE_TREE = RESOURCE_PREFIX+"tree";
    public static final String PUBLIC_ACCESS_URLS = "user:public_access_urls:";
    public static final String  ALL_PRODUCT_KEY  = "iot:all_product";
    public static final String  DEVICE_LASTDATA_CACHE_KEY  = "device:lastdata_cache";
    /**
     * 报警规则连续触发次数，缓存前缀
     */
    public static final String ALERT_TRIGGER_COUNT_PREFIX = "alert_trigger_count:";
    /**
     * 报警规则沉默周期，缓存前缀
     */
    public static final String ALERT_SILENT_PREFIX = "alert_silent:";
}